package com.proxy.cglib;

import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream;

/**
 * @author: AaronChun
 * @create: 2019-03-28 16:52
 * @description:
 **/
public class TestCglib {

    public static void main(String[] args) {

        HaveFun instance = (HaveFun)new CglibDelegate().getInstance(HaveFun.class);

        ByteOutputStream bos = new ByteOutputStream();



        instance.fun();

        instance.anotherMethod();

    }
}
